package classes;
import java.util.*;

public class ACEEntity {

  String m_strID;
  String m_strType;
  boolean m_bGeneric;

  LinkedList m_lstMentions;

  // entity attributes
  HashMap m_mapAtt;

  public ACEEntity()
  {
    m_lstMentions = new LinkedList();
    m_mapAtt = new HashMap();
  }

  public void addMention(ACEEMention emention)
  {
    emention.m_entity = this;
    m_lstMentions.add(emention);
  }

  public String getAttribute(String strKey)
  {
    return (String) m_mapAtt.get(strKey);
  }

  public void setAttribute(String strKey, String strVal)
  {
    m_mapAtt.put(strKey, strVal);
  }

}
